let str = 'abc';
// let str2:number = str;//报错，不能直接赋值
let str2:number = <number> <any> str
console.log(str2);//错误的类型断言